home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BMUG PD-ROM B4
/
PD-ROM B4.iso
/
Entertainment
/
Strategy
/
Robots
/
RoboWar
/
Vladd'sBots
/
Lestat
/
Lestat
next >
Wrap
Text File
|
1990-10-24
|
1KB
|
88 lines
# Shawn Hunter
randomdir:
random aim' store
random 150 > posx negx ife
random 150 > posy negy ife
shield 25 < BlackRat if
main jump
posx:
4 speedx' store
4 a' store
return
negx:
-4 speedx' store
-4 a' store
return
posy:
5 speedy' store
return
negy:
-5 speedy' store
return
main:
x 50 < right if
x 250 > left if
y 50 < down if
y 250 > up if
range 60 > ShootSub if
#Range 0 > Fire if
collision shootemup if
aim 11 + aim' store
5 shield' store
main jump
right:
4 speedx' store
return
left:
-4 speedx' store
return
down:
5 speedy' store
return
up:
-5 speedy' store
return
shootemup:
range 0 > DoBlowEmUp Rotate2 ife
collision not exit if
shootemup jump
Rotate2:
aim 60 + aim' store
return
DoBlowEmUp:
150 fire' store
nop nop nop nop nop nop nop nop nop nop
nop nop nop nop nop
return
exit:
drop
return
ShootSub:
range 0 > 2 / energy fire' store
aim -10 + aim' store
2 / energy fire' store
aim 20 + aim' store
2 / energy fire' store
return
#Fire:
# 2 * energy missile' store
# return
BlackRat:
Shield 15 + shield' store
return